package net.wanho.shop.service;

import net.wanho.shop.entity.User;
import net.wanho.shop.vo.Page;
import net.wanho.shop.vo.UserVo;

/**
 * Author：汤小洋
 * Date：2025-09-16 15:52
 * Description：<描述>
 */
public interface UserService {
    void register(User user);

    UserVo login(User user);

    User getUserByUserName(String userName);

    Page<User> findByPage(Integer pageNum, Integer pageSize, User user);
}
